
module.exports = {
  // 登录页面
  login: {
    notice: {
      input_err: 'Incorrect username or password, please try again',
      loading: 'login please wait...',
      err: 'Server or network error! please try again later!',
    },
    info: [
      {label: 'system version', value: '--'},
      {label: 'operation hours', value: '--'},
      {label: 'system model', value: '--'},
    ],
    username: "please enter the username",
    password: "please enter the password",
  },
  // 布局页面
  layout: {
    header: {
      title: 'home page',
      menu: {
        close: {
          show: false,
          list: ['Reboot', 'Reset', 'Time to Restart'],
        },
        info: {
          show: false,
          list: ['Switch Language', 'Change Password', 'Logout'],
        },
      },
    },
    nav: [
      { label: 'Home', path: '/home' },
      { label: 'Network', path: '/network' },
      { label: 'WiFi Setup', path: '/wifi' },
      { label: 'Advanced Setup', path: '/advanced' },
      { label: 'Service Application', path: '/service' },
      { label: 'System Management', path: '/system' },
      { label: 'System Tools', path: '/utils' },
    ],
    footer: ['Product model', 'IP address', 'MAC address', 'System version',
    'Work mode','System time', 'The running time',
    'Authorization status', 'authorized', 'none', ],
    // 修改密码弹出对话框
    dialog: {
      title: 'Password service',
      old: 'Old password',
      new: 'New password',
      confirm_new: 'Confirm new password',
    },
  },
  treeMenu: [
    { label: 'Home Page', path: '/home', },
    { label: 'Network', path: '/network',
      children: [
        { label: 'WAN', path: "wan"},
        { label: '3G/4G', path: 'net_type'},
        { label: 'LAN', path: 'lan'},
        { label: 'DHCP', path: 'dhcp'},
        { label: 'Static Router', path: 'router'},
        { label: 'Terminal Management', path: 'terminal'},
        { label: 'QoS Spread Management', path: 'qos'},
        { label: 'NAT Accelee', path: 'nat'},
      ]
    },
    { label: 'wireless setting', path: '/wifi',
      children: [
        { label: '2.4G', path: "2.4g"},
        { label: 'Guest network', path: 'visitor'},
        { label: 'Signal conditioning', path: 'signal'},
      ]
    },
    { label: 'advanced settings', path: '/advanced',
      children: [
        { label: 'Security Settings', path: "security"},
        { label: 'DMZ host', path: 'dmz_host'},
        { label: 'Dynamic DDNS', path: 'ddns'},
        { label: 'Port forwarding', path: 'dispatch'},
        { label: 'Black and white list', path: 'nameList'},
      ]
    },
    { label: 'Services and applications', path: '/service',
      children: [
        { label: 'Cloud login', path: "cloud_login"},
        { label: 'Cloud ', path: "cloud_control"},
        { label: 'VPN Client', path: 'vpn'},
        { label: 'Certification Services', path: 'certification'},
        { label: 'Disk management', path: 'disk'},
        { label: 'File Sharing', path: 'file'},
      ]
    },
    { label: 'System settings', path: '/system',
      children:[
        { label: 'System update', path: "update"},
        { label: 'Backup and recovery', path: 'backup'},
        { label: 'General settings', path: 'settings'},
      ]
    },
    { label: 'System Tools', path: '/utils',
      children: [
        { label: 'Network diagnosis', path: "diagnostics"},
        { label: 'Survey', path: 'investigate'},
      ]
    },
  ],
  home: {
    btn: ['Terminal Device', 'Internet'],
    device_header: 'Equipment status',
    device: [
      { label: 'CPU usage rate', value: '15%' },
      { label: 'Memory usage', value: '34%' },
      { label: 'System loading', value: '0.47, 0.39, 0.35' },
      { label: 'Online terminal', value: 5 },
    ],
    chart: {
      header: 'Wan port traffic information',
      y_title: 'Real-time traffic graph',
      tx: 'TX',
      rx: 'RX',
    },
    interface: {
      head: ['Interface Status', 'WAN', 'LAN'],
      list: [
        { name: 'MAC address', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'IP address', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'subnet mask', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        // { name: 'Unit submask', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'Internet access/gateway', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'DNS server', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
      ],
      head_4G: ['Interface Status', "4G Information", ],
      list_4G: [
        { label: '4G operators', value: '--' },
        { label: 'Signal strength', value: '--', type: "img", },
        { label: 'SIM card number', value: '--', },
        { label: 'Device model', value: '--', },
        { label: 'IMEI', value: '--', },
        { label: "Connection status", value: "--", },
      ],
      head_wifi: ['Interface Status', 'WiFi Information'],
      list_wifi: [
        { label: 'MAC address', value: '--' },
        { label: 'IP address', value: '--', },
        { label: 'subnet mask', value: '--', },
        { label: 'Internet access/gateway', value: '--', },
        { label: 'DNS server', value: '--', },
      ],
      connectStatus: ["not connected", "connected"],
    },
    protoMap: {
      static: "static",
      pppoe: "pppoe",
      dhcp: "dhcp",
    },
    wifiStatus: [
      { label: 'Wireless status', value: '2.4G' },
      { label: 'Network name', value: 'WPA-PSK + WPA2-PSK' },
      { label: 'Encryption', value: '78:A3:51:53:3E:42'},
      { label: 'channel', value: '78:A3:51:53:3E:42'},
      { label: 'MAC address', value: '78:A3:51:53:3E:42'},
      // { label: 'Access network', value: false },
      { label: 'Guest network name', value: '--' }
    ],
    none_secure: 'Not encrypted',
    chart_tip: {
      time: "Statistical time",
      upstream: 'Upstream traffic',
      downstream: 'Downstream traffic',
    },
  },
  network: {
    tabs: [
      { label: 'WAN', path: "wan"},
      { label: '3G/4G', path: 'net_type'},
      { label: 'LAN', path: 'lan'},
      { label: 'DHCP', path: 'dhcp'},
      { label: 'Static Route', path: 'router'},
      { label: 'Terminal control', path: 'terminal'},
      { label: 'QoS Setup', path: 'qos'},
      { label: 'NAT Setup', path: 'nat'},
    ],
    wan: {
      proto_label: 'Protocol type',
      protocols: [
        { label: 'automatic acquisition', value: 'dhcp' },
        { label: 'PPPoE dial-up', value: 'pppoe' },
        { label: 'static IP', value: 'static' },
      ],
      dns_tip: "If not filled, the system default domain name server will be used",
      fields_dhcp: ['First dns server', 'Secondary dns server'],
      fields_pppoe: ['PPPoEAccount', 'PPPoEPassword', 'First dns server', 'Secondary dns server'],
      // btns: ['Save', 'Disconnect', 'Reconnect', 'Detection', 'View log'],
      btns: ['Save', 'Disconnect', 'Reconnect', 'Detection'],
      fields_static: ['IP address', 'Subnet mask', 'gateway', 'First dns server', 'Secondary dns server'],
      info: {
        title: 'WAN type state',
        head: ['Protocol','IP address','MAC address','Current upstream',
        'Current downstream','Total upstream flow','Total downstream flow','Elapsed time'],
        value: [
          'dhcp','192.168.1.67','78:a3:51:53:32:1c','204.25B',
          '187.5B','2.38GB','15.64GB','5h 43m 21s',
        ]
      },
      detection: "pppoe detection information",
      toolbar: 'You can configure the network interface to access the Internet.',
    },
    net_type: {
      form: [
        {label: '4G Priority', type: 'switch' },
        {label: 'Dailing method', type: 'select' },
        {label: 'Nation / Area', type: 'select' },
        {label: 'ISP', type: 'select' },
        {label: 'APN Server（Optional）', type: 'input' },
        {label: 'Connect number', type: 'input' },
        {label: 'PIN code', type: 'input' },
        {label: 'Username', type: 'input' },
        {label: 'Password', type: 'input' },
      ],
      operate: 'Advanced options',
      operate_fold: 'Collapse advanced options',
      info1: {
        title: '3G / 4G signal',
        head: ['4G', 'SIM Card Number', 'Device Type', 'IMEI', 'Signal Strength',],
        distributed: [100, 150, 100, 100, 50]
      },
      info2: {
        title: '3G/4G Status Info',
        head: ['Device name / IP address', 'MAC address', 'Total upstream traffic',
        'Total downstream traffic', 'operation hours'],
        distributed: [150, 120, 100, 100, 100]
      },
      module_tx_traffic: "module tx traffic",
      module_rx_traffic: "module rx traffic",
      log: 'Log information',
      toolbar: 'Note: If you turn on the button, the 4G Internet will be used first, otherwise the WAN port will be used first',
    },
    lan: {
      fields: ['IP address', 'Subnet mask'],
      info: {
        title: 'LAN port status information',
        head: ['Protocol type','IP address','MAC address','Current upstream flow',
        'Current downstream flow','Total upstream flow','Total downstream flow','Elapsed time'],
        value: [
          'dhcp','192.168.1.67','78:a3:51:53:32:1c','204.25B',
          '187.5B','2.38GB','15.64GB','--',
        ]
      },
      toolbar: 'in this page, you can set the network interface.',
    },
    dhcp: {
      form: [
        { label: 'enable DHCP', tip: 'When you use the DHCP, the IP end number must larger than the IP end number 10.'},
        { label: 'DHCP start IP', tip: 'IP start number,scope:1~254,default 100'},
        { label: 'DHCP end IP', tip: 'IP end number, scope:1~254,default 250'},
        { label: 'DHCP allocate time', tip: 'It is recommended to set the DHCP allocation time to 2 minutes-48 hours'},
      ],
      time_options: [
        {label: 'h', value: 'h'},
        {label: 'm', value: 'm'},
      ],
      info1: {
        title: 'Distributed DHCP lease',
        head: ['Host name', 'IP address', 'MAC address', 'Remaining lease'],
      },
      info2: {
        title: 'DHCP static IP allocate.',
        head: ['', 'Host name', 'IP address', 'MAC address', 'Operation'],
        operate: ['Batch Add', 'Batch Remove'],
        add: 'Addition',
      },
      toolbar: 'in this page, you can set the network interface',
      batch: {
        title: 'Batch Add',
        list: ['Host name', 'IP address', 'MAC address'],
        tips: ['Note：Multiple IP addresse, one for each row，example 192.168.0.100',
          'Note：Multiple IP addresse, one for each row，example 192.168.0.100',
          'Note：Multiple IP addresse, one for each row，example 192.168.0.100',
        ],
      },
      resultMap: {
        "1": "Successfully modified dhcp information",
        "-4": "IP value is not within the specified range, please re-enter",
        "-6": "IP end value must be greater than IP start value",
      }
    },
    router: {
      info1: {
        add: 'Addition',
        title: 'Static ipv4 router list',
        head: ['Interface', 'Host IP or network', 'subnet mask', 'gateway', 'jump points', 'Operation'],
      },
      info2: {
        title: 'Active IPv4 routing',
        head: ['Network', 'gateway', 'object', 'jump points']
      },
    },
    terminal: {
      info1: {
        operate: 'Prohibit access',
        title: 'Current connected devices',
        head: ['Network name', 'IP address', 'MAC address', 'RSS10/RSS11',
        'Connection speed/bandwidth	', 'Operation'],
      },
      info2: {
        title: 'ARP',
        head: ['IP address', 'MAC address','Interface'],
      }
    },
    qos: {
      field: 'Enable QoS speed limiting',
      info: {
        title: 'Qos rule list：（Support up to 32 rules）',
        head: ['Qos limit object','Upload bandwidthMb/s','Download bandwidthMb/s',
        'Qos description.', 'Operation'],
        operate: 'Addition',
      },
      toolbar: {
        head: 'Limited object could be IP or address field',
        label1: 'for example',
        ip: ['192.168.1.1','192.168.1.100-192.168.1.200','192.168.1.1/24','192.168.1.1/255.255.255.0'],
        label2: 'Remark', // note
        tip: ':If you want the QOS work, you must shut down the NAT.',
        close: 'close NAT'
      },
    },
    nat: {
      field: 'Enable NAT acceleration',
      // toolbar: ['Turn on or off the hardware NAT acceleration and the device will restart.',
      // 'NAT acceleration affects QOS and other functions'],
      toolbar: ['Turn on or off the hardware NAT acceleration',
      'NAT acceleration affects QOS and other functions'],
    },
  },
  wifi: {
    tabs: [
      { label: '2.4G', path: "2.4g"},
      { label: '5G', path: "5g"},
      { label: 'Guest Network', path: 'visitor'},
      { label: 'Tx power adjustment', path: 'signal'},
      { label: 'Scan wifi', path: 'scan'},
    ],
    _24g: {
      form1: {
        title: '2.4GWireless configuration',
        fields: [
          { label: 'Whether to enable', type: 'switch' },
          // 此处operate文字需要切换
          { label: '2.4GSSID', type: 'input', operate: ['Hide wireless name', 'Show wireless name']},
          { label: 'WiFi channel', type: 'select'},
          { label: 'band width', type: 'select'},
          { label: 'encryption type', type: 'select'},
          { label: 'work mode', type: 'select'},
          { label: '2.4GWireless password', type: 'input', operate: ['View', 'cancel']},
          { label: 'Fragmentation Threshould', type: 'input', tip: "range：256-2346"},
          { label: 'RTS/CTS Threshold value', type: 'input', tip: "range：1-2347"},
          { label: 'WMM mode', type: 'switch' },
          { label: 'Isolated client', type: 'switch' },
        ],
        select_channel: ['automatic', '1 (2.412 GHz)', '2 (2.417 GHz)', '3 (2.422 GHz)',
        '4 (2.427 GHz)', '5 (2.432 GHz)', '6 (2.437 GHz)', '7 (2.442 GHz)',
        '8 (2.447 GHz)', '9 (2.452 GHz)', '10 (2.457 GHz)', '11 (2.462 GHz)',
         '12 (2.467 GHz)', '13 (2.472 GHz)', ],
        select_channel_5g: [
          { label: "automatic", value: "0"},
          { label: "36 (5.180GHz)", value: '36'},
          { label: "40 (5.200GHz)", value: '40'},
          { label: "44 (5.220GHz)", value: '44'},
          { label: "48 (5.240GHz)", value: '48'},
          { label: "52 (5.260GHz)", value: '52'},
          { label: "56 (5.280GHz)", value: '56'},
          { label: "60 (5.300GHz)", value: '60'},
          { label: "64 (5.320GHz)", value: '64'},
          // { label: "100 (5.500GHz)", value: '100'},
          // { label: "104 (5.520GHz)", value: '104'},
          { label: "149 (5.745GHz)", value: '149'},
          { label: "153 (5.765GHz)", value: '153'},
          { label: "157 (5.785GHz)", value: '157'},
          { label: "161 (5.805GHz)", value: '161'},
          { label: "165 (5.825GHz)", value: '165'},
        ],
        select_encryption: [
          { label: 'no encryption', value: 'none', },
          { label: 'WPA-PSK', value: 'psk', },
          { label: 'WPA-PSK + WPA2-PSK', value: 'psk-mixed', },
          {  label: 'WPA-PSK + WPA2-PSK + CCMP', value: 'psk-mixed+ccmp', },
        ],
        select_bandwidth: [
          { label: 'HT20', value: 'ht20'},
          { label: 'HT40', value: 'ht40'},
          { label: 'HT80', value: 'ht80'},
        ],
        select_workmode: [
          { label: 'N', value: '11N'},
          { label: 'Legacy', value: '-1'},
        ],
        fold: 'Collapse 2.4G Advanced Options',
        unfold: '2.4G Advanced Options',
        save: 'save'
      },
      form2: {
        title: '2.4G MAC blacklist',
        fields: [
          { label: 'MAC filter', type: 'select'},
          { label: 'MAC list', type: 'textarea',
          tip: 'Note: multiple MAC addresses, each occupying one line, mac address format is like 00: 11: 22: 33: 44: 55'},
        ],
        select_mac_filter: [
          { label: 'disabled', value: 'disable'},
          { label: 'enable blacklist', value: 'deny'},
          { label: 'enable whitelist', value: 'allow'},
        ],
        save: 'save'
      }
    },
    visitor: {
      info: {
        title: 'Guest network settings',
        head: ['Wireless mode','Guest network name','status','operation'],
        operate: 'save'
      },
    },
    signal: {
      wifi_select: [
        { label: 'Green energy saving mode', value: 'low'},
        { label: 'Standard mode', value: 'medium'},
        { label: 'Wall mode', value: 'high'},
      ],
      field: 'Signal conditioning mode',
      toolbar: [
        'Note: Green energy saving mode, weaken WIFI signal, more energy saving and environmental protection',
        'Note: Standard mode, standard WIFI signal, meet daily Internet access needs',
        'Note: Wall-penetrating mode enhances WIFI signal and enhances WIFI wall-penetrating ability',
      ],
    },
    scan: {
      fields: [
        { label: 'enable', type: 'switch', },
        { label: 'wifi name', type: '', },
        { label: 'MAC address', type: '', },
        { label: 'encryption', type: '', },
        { label: 'password', type: '', },
      ],
      info1: {
        title: 'scan wifi information',
        head: ['wifi name', ' MAC address', 'encryption', 'signal', 'operate'],
        distributed: [80, 70, 80, 80, 50],
      },
      connect: "连接WiFi",
      info2: {
        title: 'apclient status',
        head: ['wifi name', 'MAC address', 'IP address', 'Downstream traffic', 'Upstream traffic', 'operation hours',],
        distributed: [80, 80, 80, 60, 60, 60],
      },
    },
  },
  advanced: {
    tabs: [
      { label: 'Security Settings', path: "security"},
      { label: 'DMZ host', path: 'dmz_host'},
      { label: 'Dynamic DDNS', path: 'ddns'},
      { label: 'Port forwarding', path: 'dispatch'},
      // { label: '黑白名单', path: 'nameList'},
      { label: 'Network watchdog', path: 'netwatchdog'},
    ],
    pages: [
      { fields: ['Enable firewall', 'Enable SYN-FLOOD', 'Disable ipv6',
      'Enable redirect', 'Enable Ping from WAN port'] },
      { fields: ['Enable DMZ host','Intranet IP'] },
      {
        fields: ['Enable dynamic DDNS','DDNS service provider','domain name','username',
        'password', 'Remarks'],
      },
      {
        field: 'Enable port forwarding',
        info: {
          title: 'Custom port forwarding rules list (maximum number of rules 10) :',
          head: ['External port','Intranet IP','Internal port','Protocol type','operation'],
        }
      },
      {
        fields: ['Enable blacklist', 'Enable whitelist'],
        toolbar: [
          'Note: multiple addresses, each line',
          'ip address format like 192.168.1.100',
          'mac address format like 00: 11: 22: 33: 44: 55',
        ]
      },
      {
        fields: [
          { label: "4G first", type: "switch", },
          { label: "Detection address 1", type: "input", tip: "Input the extranet ip address or domain name"},
          { label: "Detection address 2", type: "input", tip: "Input the extranet ip address or domain name"},
          { label: "Detection interval", type: "input", tip: "Ping detection interval" },
          { label: "Execute action", type: "select", },
        ],
        netdogExeOptions: [
          { label: "No action", value: "none", },
          { label: "Restart the network", value: "netrestart", },
          { label: "Restart the system", value: "sysrestart", },
        ]
      }
    ]
  },
  service: {
    tabs: [
      { label: 'Cloud login', path: "/service/cloud_login"},
      { label: 'Cloud management', path: "/service/cloud_control"},
      { label: 'VPN client', path: '/service/vpn'},
      { label: 'Certification Services', path: '/service/certification'},
      { label: 'Disk management', path: '/service/disk'},
      { label: 'File Sharing', path: '/service/file'},
      { label: "PPTP", path: "/service/pptp", },
      { label: "L2TP", path: "/service/l2tp", },
      { label: "OPENVPN", path: "/service/openvpn", },
      { label: "MPTCP", path: "/service/mltcp", },
			{ label: "TUNNEL", path: "/service/tunnel", },
    ],
    cloud: {
      form1: {
        title: 'Cloud login',
        fields: [
          { label: "Whether use cloud login", type: "switch", },
          { label: 'Connection Status', type: 'text', },
          { label: 'Cloud login ID', type: 'input', operate: 'change'},
          { label: 'Remote web address', type: 'text_link'},
        ],
        login_status: ["logged", "not login"],
      },
      form2: {
        title: 'Cloud management',
        fields: [
          { label: 'Account of cloud centralized management platform', type: 'input', operate: 'registe/login' },
          { label: 'Equipment remarks', type: 'input'},
        ]
      },
      toolbar: 'Note: The cloud centralized management account and the account filled in by the device must be the same to accept the centralized management of the platform',
    },
    pptp: {
      fields: [
        { label: "Enable", type: "switch", },
        { label: "Server address", },
        { label: "Server user name", },
        { label: "Server password", },
        { label: "Use default route", type: "switch", },
      ],
      info: {
        head: ['IP Address', 'Receive data traffic', 'Send data traffic', 'Operation hours'],
        distributed: [60, 60, 60, 60],
      },
    },
    l2tp: {
      fields: [
        { label: "Enable", type: "switch", },
        { label: "Server address", },
        { label: "Server user name", },
        { label: "Server password", },
        { label: "Use default route", type: "switch", },
      ]
    },
    openvpn: {
      fields: [
        { label: "enabled", type: "switch", },
        { label: "remote", },
        { label: "port", },
        { label: "ca", type:"textarea", },
        { label: "cert", type:"textarea", },
        { label: "key", type:"textarea", },
        // { label: "dev_type", type: "select", options:[
        //   { label: "tun", value: "tun", },
        //   { label: "tap", value: "tap", },
        // ] },
        // { label: "protocol", type: "select", options: [
        //   { label: "tcp", value: "tcp", },
        //   { label: "udp", value: "udp", },
        // ], },
        // { label: "client", type: "switch", },
        // { label: "resolv_retry", },
        // { label: "nobind", type: "switch",},
        // { label: "persist_key", },
        // { label: "persist_tun", },
        // { label: "user", },
        // { label: "compress", },
        // { label: "verb", type: "select", options: ['0','1','2','3','4','5','6','7','8','9','10','11',], },
        // { label: "comp_lzo", type:"select", options: [
        //   { label: "yes", value: "yes", },
        //   { label: "no", value: "no", },
        //   { label: "keepalive", value: "keepalive", },
        // ] },
        // { label: "dev_type", },
      ],
      proto_options: [
        { label: "tcp", value: "tcp"},
        { label: "udp", value: "udp"},
      ],
      dev_options: [
        { label: "tun", value: "tun", },
        { label: "tap", value: "tap", },
      ]
    },
    mltcp: {
      enable: "是否启用",
      loopback: "LOOPBACK",
      lan: "lan",
      wan: "wan",
    },
    tunnel: {
      ss_tunnel: {
        title: "ss-tunnel远端服务器配置",
        fields: [
          { label:"是否启用MPTCP", value:"switch", },
          { label:"远端服务器地址", value:"input", },
          { label:"远端服务器端口", value:"input"},
          { label:"加密方式", value:"select"},
          { label:"密码", value:"input"},
        ],
      },
      ss_redir: {
        title: "本地ss_redir服务器配置",
        fields: [
          { label:"是否启用MPTCP", value:"switch"},
          { label:"转发服务器地址", value:"input"},
          { label:"本地端口", value:"input"},
          { label:"工作模式", value:"select"},
        ],
      },
      dns: {
        title: "dns服务器配置",
        fields: [
          { label:"是否启用MPTCP功能：", value:"switch"},
          { label:"服务器地址", value:"input"},
          { label:"本地端口", value:"input"},
          { label:"工作模式", value:"select"},
          { label:"隧道对端地址", value:"input"},
        ],
      }
    },
    vpn: {
      fields: [
        { label: 'VPN client type', type: 'select'},
        { label: 'VPN server address', type: 'input'},
        { label: 'VPN account', type: 'input'},
        { label: 'VPN password', type: 'input', operate: '查看'},
        { label: 'PPTP options', type: 'select'},
      ],
      info: {
        head: ['VPN client type', 'IP address', 'receive', 'send', 'operation hours'],
        distributed: [100, 100, 100, 100, 100],
      },
      log: 'Log information',
    },
    certification: {
      fields: [
        { label: 'Certified switch', type: 'switch'},
        { label: 'Gateway ID', type: 'input'},
        { label: 'Health check interval', type: 'input', desc: '秒', tip: '范围：60-120'},
        { label: 'Client timeout', type: 'input', desc: '分钟', tip: '范围：5-100'},
        { label: 'Authentication server address', type: 'input', desc: '域名', tip: '例：www.baidu.com'},
        { label: 'Authentication server port', type: 'input', desc: '', tip: '范围：1-65535'},
        { label: 'Authentication server path', type: 'input', desc: '', tip: ''},
        { label: 'Enable SSL on the authentication server', type: 'switch', desc: '', tip: ''},
        { label: '认证服务器SSL端口', type: 'input', desc: '', tip: '范围：1-65535'},
        { label: 'Extranet domain name whitelist', type: 'textarea', tip: '每行一个域名或IP或网段，例', green: 'www.baidu.com'},
        { label: 'Intranet MAC whitelist', type: 'textarea', tip: '每行一个MAC，例', green: '00:11:22:33:44:55'},
      ],
      toolbar: 'WiFi authentication settings',
    },
    disk: {
      toolbar: [
        '1. The TF card cannot be hot-swapped and can only be pulled out after the power is turned off, otherwise the card may be damaged.',
        '2. When unplugging the USB disk, you need to unmount the disk first, otherwise it may cause data loss',
      ]
    },
    file: {
      fields: [
        { label: 'Enable samba file sharing service', type: 'switch',},
        { label: 'File server name', type: 'input', tip: ': Letters, numbers, underscores'},
        { label: 'Access code', type: 'input', tip: ': Letters, numbers, underscores'},
      ],
      toolbar: 'Samba Server access account：admin，The initial password is admin',
    }
  },
  system: {
    tabs: [
      { label: 'System upgrade', path: "/system/update"},
      { label: 'Backup and recovery', path: '/system/backup'},
      { label: 'General settings', path: '/system/settings'},
    ],
    update: {
      title: "Local upgrade",
      fields: [
        { label: 'Current firmware version', type: 'entry' },
        { label: 'Firmware upgrade or remote upgrade address', type: 'input', pholder: 'upload firmware file or fill in url address', operate: 'upload', long: true, },
        { label: 'Firmware name', type: 'input', pholder: 'firmware name', long: true, },
        { label: 'keep configuration upgrade or not', type: 'switch', },
      ],
      title1: "Online upgrade",
      fields1: [
        { label: "Current firmware version",  },
        { label: "Latest firmware version", },
      ],
      latest: "The current version is already the latest version",
      save_select: [
        { label: 'save', value: '1', },
        { label: 'do not save', value: '0', },
      ],
      toolbar: 'Note: Perform system configuration backup, restore, \
      system firmware upgrade and other operations, need to restart to take effect.',
    },
    backup: {
      fields: [
        { label: 'Download backup', type: 'entry', btn: 'Generate backup', },
        { label: 'Restore configuration', type: 'input', pholder: 'Upload the backup firmware file and upgrade', operate: "upload", long: true, },
        { label: 'keep configuration upgrade or not', type: 'switch', },
        { label: 'reset', type: 'entry', btn: 'Execute reset', },
      ],
      toolbar: 'Note: Export and save the current configuration of the router to your computer, \
      and import the backup file to restore the configuration in the future',
    },
    settings: {
      form1: {
        title: 'NTP Time synchronization',
        fields: [
          { label: 'Enable NTP client', type: 'switch',},
          { label: 'Serves as an NTP server', type: 'switch',},
          { label: 'Preferred NTP server', type: 'input',},
          { label: 'Alternate NTP server', type: 'input',},
        ]
      },
      form2: {
        title: 'Device restarts regularly',
        fields: [
          { label: 'Timed restart', type: 'switch',},
          { label: 'Restart method', type: 'select',},
          { label: 'Timed restart time', type: 'entry',},
        ]
      }
    }
  },
  utils: {
    tabs: [
      { label: 'Network diagnosis', path: "/utils/diagnostics"},
      { label: 'Base station survey', path: '/utils/investigate'},
    ],
    diagnostics: {
      // 数组对象结构 方便后期拓展和维护
      fields: [
        { label: 'IP or domain name', },
        { label: 'Network tools', },
        { label: 'Protocol type', },
      ],
      select_host: [
        { label: 'www.baidu.com', value: ''},
        { label: 'www.163.com', value: ''},
        { label: 'www.qq.com', value: ''},
        { label: 'www.sina.com', value: ''},
        { label: 'www.1688.com', value: ''},
      ],
      select_checkmode: [

      ],
      select_protocoltype: [

      ],
      log: 'Diagnostic information',
    },
    investigate: {
      fields: [
        { label: 'signal type', type: 'select', }
      ],
      select_signal: [
        { label: '2.4G wireless', value: '2'},
        { label: '5G wireless', value: '5'},
      ],
      info: {
        title: 'Scan information',
        head: ['Wireless name', 'MAC address', 'Channel', 'Encryption', 'Signal strength'],
        distributed: [80, 70, 80, 80, 50],
      }
    }
  },
  //  按钮的语言文字
  btn: {
    login: 'Login',
    save: 'save',
    submit: 'submit',
    checkUpdate: 'check update',
    update: 'upgrade',
    confirm: 'confirm',
    cancel: 'cancel',
    disable: 'disable',
    enable: "enable",
    disconnect: 'disconnect',
    reconnect: 'reconnect',
    format: 'format',
    mount: 'mount',
    uninstall : 'uninstall',
    iotest: 'iotest',
    start_scan: 'start scan',
    refresh: "refresh",
    clear: "clear",
    startScan: 'start scan',
    selected: 'select',
  },
  // 悬停提示信息
  tip: {
    close: 'click to close',
  },
  time: {
    day: 'day',
    hour: 'hours',
    minute: 'minutes',
    seconds: 'seconds',
  },
  operate: {
    add: 'add',
  },
  log_title: 'log information',
  dialog: {
    alert: {
      title_text: 'prompt information',
      close_tip: 'click to close',
      need_input: 'please input',
    }
  },
  // document.title
  title: {
    home: 'home page',
    login: 'login',
    router: 'static router',
    terminal: 'terminal manage',
    qos: 'QoS Speed limit',
    nat: 'NAT acceleration',
    visitor: 'visitor management',
    signal: 'signal management',
    // 高级设置模块的页面title在advanced二级路由组件进行统一处理
    advanced: ['', '', '', '', ''],
    cloud_login: 'cloud login',
    cloud_control: 'cloud management',
    sys_upgrade: 'system upgrade',
    sys_backup: 'Backup and recovery',
    sys_setting: 'General settings',
    diagnostics: 'Network diagnosis',
    investigate: 'Base station survey',
    scan: "WiFi scan",
  },
  // global notify
  notification: {
    loginPending: "logining...",
    neterr: "Network error or server error, please check the network settings and try again",
    pwderr: "Username or password is wrong, please try again",
    oldpwderr: "The old password is wrong, please try again",
    loginSuccess: "login successful",
    logoutSuccess: "Logout success",
    changePwdSuccess: "password has been updated",
    confirm_pwderr: "The new password entered twice is inconsistent, please try again",
    pwdShort: "Password length should not be less than 5 digits",
    tokenTimeout: "token has expired, please login again",
    pwdLengthNotice: "wifi password length should not be less than 8 digits",
    operateFailed: "operation failed",
    operateSuccess: "Successful operation",
    notice: "prompt",
    lackBssid: "Please enter the guest network name",
    lackFile: "Please select a file",
    netErr: "Network error",  // 远程升级网络出错
    typeValidIP: "Please enter the correct IP address",
    invalidFileType: "Incorrect file type",
    uploadFileFailed: "File upload failed",
    typeUserPwd: "Please enter a username or password",
    IPOutOfRange: "IP address is not within the specified range, please re-enter",
    IPOrderError: "IP end value is greater than start value",
    rebootSuccess: "Successful restart",
    resetSuccess: "Factory reset succeeded",
    confirmReset: "Are you sure you want to restore factory settings？",
    sysupgradeLoading: "Please wait while the system is upgraded...",
    updateSuccess: "update successed",
    updateFailed: "Upgrade failed",
    downloadFileFailed: "File download failed",
    sysbackupLoading: "System is recovering, please wait...",
    rebootLoading: "Please wait while the system restarts ...",
    resetLoading: "Please wait while the system resets ...",
    routerDisconnect: "Router network error, please check the router network status",
    ip_or_netmask_empty: "IP address and subnet mask cannot be empty",
    ssidEmpty: "Please fill in the wireless name",
  },
  hoverTitle: {
    downloadFile: "download file",
  },
  messageBox: {
    title: {
      info: "prompt",
    },
  }
}
